#!/bin/bash
export SCHEME_NAME="androids"
export WORKSPACE_NAME="d-$SCHEME_NAME"
export ECLIPSE_DIR="/home/$USER/Aps/IDEs/Eclipse-3.7"
. /home/$USER/valire-scripts/eclipse/indigo/eclipse-cmd-indigo.sh

export LAUNCHER_FILE=/home/$USER/Desktop/eclipse4d-$SCHEME_NAME.desktop
echo "#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=gnome-panel-launcher
Exec=/home/$USER/d-scripts/eclipse/indigo/eclipse-d-$SCHEME_NAME.sh
Name[en_US]=DDD($WORKSPACE_NAME)
Name=DDD($WORKSPACE_NAME)
Icon=/home/$USER/d-scripts/eclipse/icons/$WORKSPACE_NAME/ide.gif" > $LAUNCHER_FILE
chmod +x $LAUNCHER_FILE

